package net.wangds.data.ann;

import net.wangds.data.TableCateEnum;
import net.wangds.data.TableTypeEnum;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * .
 * <p></p>
 *
 * @author 王东石 2020/11/1 21:40.
 */
@Target(TYPE)
@Retention(RUNTIME)
public @interface TableDef {

    TableCateEnum category() default TableCateEnum.Master;
    String beanClass() default "";
    String displayName() default "";
    TableTypeEnum tableType() default TableTypeEnum.ColumnOriented;
    String memo() default "";
    int version() default 1;

}
